/status/system/interface/<intf_name>/ip

The nodes below this one perform the functions described in this function overview.

Use

Use to view the IP address information for this interface.

Parameters

intf_name: Name of interface

Data Type

subtree

Request Methods

GET

Examples

GET

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interface/em1/ip

GET Response

{"/status/system/interface/em1/ip": {"data": None,
                                      "default": False,
                                      "defaultAllowed": False,
                                      "deleteAllowed": False,
                                      "numChildren": 1,
                                      "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/system/interface/em1/ip"}

GET (list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interface/em1/ip?op=list

GET Response

{"/status/system/interface/em1/ip": {"children": {"/status/system/interface/em1/ip/addrMask": {"default": False,
                                                                                                  "defaultAllowed": False,
                                                                                                  "deleteAllowed": False,
                                                                                                  "numChildren": 1,
                                                                                                  "type": "subtree"},
                                                    "/status/system/interface/em1/ip/v6LinkLocal": {"default": False,
                                                                                                     "defaultAllowed": False,
                                                                                                     "deleteAllowed": False,
                                                                                                     "numChildren": 1,
                                                                                                     "type": "ip-addr-with-mask"}},
                                      "default": False,
                                      "defaultAllowed": False,
                                      "deleteAllowed": False,
                                      "numChildren": 2,
                                      "type": "subtree"},
 "httpResponseCode": 200,
 "recurse": False,
 "requestPath": "/status/system/interface/em1/ip"}

GET (recursively list children)

curl -b cookie.jar -k https://10.1.2.3:8443/lrs/api/v1.0/status/system/interfa ce/em1/ip?level=recurse

  1. /status/system/interface/<intf_name>/ip 1. Parameters
    1. Data Type 2. Request Methods 3. Related 4. Examples